package com.ruoyi.ora.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 白名单对象 ora_user_white
 * 
 * @author liuwp
 * @date 2024-12-05
 */
public class UserWhite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 名称 */
    @Excel(name = "名称")
    private String whiteName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String whitePhone;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setWhiteName(String whiteName) 
    {
        this.whiteName = whiteName;
    }

    public String getWhiteName() 
    {
        return whiteName;
    }
    public void setWhitePhone(String whitePhone) 
    {
        this.whitePhone = whitePhone;
    }

    public String getWhitePhone() 
    {
        return whitePhone;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deviceId", getDeviceId())
            .append("whiteName", getWhiteName())
            .append("whitePhone", getWhitePhone())
            .append("avatar", getAvatar())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
